package cn.dada.dadarecipes.community.audit.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.time.LocalDateTime;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class AuditVO {
    @ApiModelProperty(value = "审核表id")
    Long id;
    @ApiModelProperty(value = "文章id")
    Long articleId;
    @ApiModelProperty(value = "审核状态")
    String auditStatus;
    @ApiModelProperty(value = "审核通过时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    LocalDateTime passTime;
    @ApiModelProperty(value = "审核驳回原因")
    String reason;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    LocalDateTime createTime;
}
